package cn.wolfcode.trip.base.service;


import cn.wolfcode.trip.base.domain.Praise;
import cn.wolfcode.trip.base.query.PraiseQueryObject;
import com.github.pagehelper.PageInfo;

public interface IPraiseService {

    Praise get(Long userId,Long typeId, Integer type);

    void save(Long userId, Long typeId, Integer type);

    /*查询某用户收到的点赞*/
    PageInfo queryPraiseByReceiverId(PraiseQueryObject qo);

    void setRead(Long id);
}
